package model.vo;

import model.listener.CheckPointListener;

public class CheckPoint {

	Position position;
	CheckPointListener listener;
	
	float red;
	float green;
	float blue=1;

	public CheckPoint(Position position,CheckPointListener listener){
		this.position=position;
		this.listener=listener;
	}
	
	public CheckPoint(int x,int y,CheckPointListener listener){
		this.position=new Position(x,y);
		this.listener=listener;
	}
	
	public CheckPoint(Position position,CheckPointListener listener,float red,float green,float blue){
		this.position=position;
		this.listener=listener;
		this.red=red;
		this.green=green;
		this.blue=blue;
	}
	
	public Position getPosition() {
		return position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public CheckPointListener getListener() {
		return listener;
	}

	public void setListener(CheckPointListener listener) {
		this.listener = listener;
	}

	public float getRed() {
		return red;
	}

	public void setRed(float red) {
		this.red = red;
	}

	public float getGreen() {
		return green;
	}

	public void setGreen(float green) {
		this.green = green;
	}

	public float getBlue() {
		return blue;
	}

	public void setBlue(float blue) {
		this.blue = blue;
	}
	
}
